//
//  ProductList.h
//  smartInfo
//
//  Created by Sanjay Singh on 05/11/11.
//  Copyright 2011 Dhakera. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <StoreKit/StoreKit.h>

#define kInAppPurchaseManagerTransactionFailedNotification @"kInAppPurchaseManagerTransactionFailedNotification"
#define kInAppPurchaseManagerTransactionSucceededNotification @"kInAppPurchaseManagerTransactionSucceededNotification"


@interface ProductList : UIViewController<UITableViewDataSource,UITableViewDelegate,SKPaymentTransactionObserver> {
    
    UITableView *tbl_productList;
    NSString *productId;
    UIActivityIndicatorView *activity;
	int int_NoOfEmail;
}
@property (nonatomic,retain) NSString *productId;  

// public methods
- (void)loadStore;
- (BOOL)canMakePurchases;
- (void)purchaseProUpgrade:(NSString *)pid;

@end

